package com.draem0507.refactor;

/**
 * @title 提升父类
 * @desc
 * @atuh lwx
 * @createtime on 2015/11/14 13:31
 */
public class Day_17 {



    public class Animal
    {
        public void EatFood()
        {
            // eat some food
        }

        public void Groom()
        {
            // perform grooming
        }
    }

    public class Dog1 extends Animal
    {
    }


    public class Dog
    {
        public void EatFood()
        {
            // eat some food
        }

        public void Groom()
        {
            // perform grooming
        }
    }

}
